﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchBulletin.ascx.vb"
    Inherits="WebForm_Main_SearchBulletin" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<%@ Register Src="~/WebForm/Main/AddBulletin.ascx" TagName="AddBulletin" TagPrefix="My" %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="">

            <tr>
              <td height="59" style="background-repeat:no-repeat;" background="<%=ResolveUrl("~/images/NewImages/content1.jpg")%>">
                             </td>
            </tr>
  <tr>
  <td>
<asp:UpdatePanel ID="upAddBulletin" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <My:MyGridView ID="gvBulletin" SkinID="pager" BorderWidth="0px" ShowHeader="false" runat="server" AllowPaging="True"
            AllowHoverEffect="False" AllowHoverSelect="False" PageSize="10" DataKeyNames="BulletinID" meta:resourcekey="gv" MouseOverColor="" MySortDirection="Ascending" TotalRowCount="0" EmptyDataText="無資料">
            <PagerSettings Position="Top" />
            <Columns>
                <asp:TemplateField meta:resourcekey="bfIssueDate">
                    <itemtemplate>
                                            <asp:MultiView ID="muIssueDate" runat="server" ActiveViewIndex="0">
                                    <asp:View ID="vwTopmost" runat="server">
                                                         <asp:Image ID="Image1" runat="server" imageurl="~/Images/NewImages/content3.jpg"></asp:Image><asp:Label ID="lblTopmost" runat="server" meta:resourcekey="lblTopmost"></asp:Label>
                                    </asp:View>
                                    <asp:View ID="vwIssueDate" runat="server">
                                                        <asp:Image ID="Image2" runat="server" imageurl="~/Images/NewImages/content3.jpg"></asp:Image><%#Eval("IssueDate", "{0}")%>                                        
                                    </asp:View>
                                </asp:MultiView>
            </itemtemplate>
                    <itemstyle width="100px" />
                </asp:TemplateField>
                <%--<asp:BoundField DataField="BulletinSubject"  />--%>
                <asp:TemplateField meta:resourcekey="bfBulletinSubject" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-HorizontalAlign="Left">
                    <itemtemplate>   
                       <asp:LinkButton ID="lknBulletinSubject" runat="server" Text='<%#Bind("BulletinSubject")%>' CommandName="lknBulletinSubject" ToolTip='<%#Bind("BulletinSubject")%>' ></asp:LinkButton>
            </itemtemplate>
                </asp:TemplateField>
            </Columns>
        </My:MyGridView>
        <My:AddBulletin ID="AddBulletin1" runat="server"></My:AddBulletin>
    </ContentTemplate>
</asp:UpdatePanel></td>
</tr>
</table>
<%--<asp:GridView>
    <Columns>
        <asp:BoundField ItemStyle-HorizontalAlign  />
    </Columns>
</asp:GridView>--%>
